package com.jzo2o.customer.controller.agency;

import com.jzo2o.customer.model.dto.request.AgencyCertificationAuditAddReqDTO;
import com.jzo2o.customer.service.IAgencyCertificationService;
import io.swagger.annotations.Api;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * \* User: chy
 * \* Date: 2025/9/26  19:40
 * \* Description:
 * \
 */
@RestController("agencyCertificationAuditController")
@RequestMapping("/agency/agency-certification-audit")
@Api(tags = "机构端 - 认证相关接口")
@Slf4j
public class CertificationAuditController {

    @Resource
    private IAgencyCertificationService agencyCertificationService;
    /**
     * 机构端提交认证申请
     *
     * @param reqDTO
     */
    @PostMapping
    public void submitApplication(@RequestBody AgencyCertificationAuditAddReqDTO reqDTO) {
        log.info("机构端提交认证申请");
        agencyCertificationService.submitApplication(reqDTO);
    }
}
